﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Domain.Entities.Auditing;

namespace TMS_Master.Entities
{
    /// <summary>
    /// 登录表
    /// </summary>
    [Table("UserInfo")]
    public class UserInfo : AuditedAggregateRoot<Guid>
    {

        /// <summary>
        /// 登录名
        /// </summary>
        [StringLength(20)]
        [Required]
        public string LoginName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        [StringLength(30)]
        [Required]
        public string LoginPwd { get; set; }
    }
}
